/*
 * @Author: wangming
 * @Date: 2020-09-03 16:33:37
 * @LastEditors: wangming
 * @LastEditTime: 2021-12-12 15:03:53
 * @Description: file content
 */
import myMixin from '@/pageComponents/myMixin';
import { SectionToChinese } from '@/utils/common';
export default {
  mixins: [myMixin],
  render(h) {
    const { width, originModelName } = this.config.__config;
    let ChineseNmae = SectionToChinese(this.form[originModelName]) || '';
    // this.$emit('input', ChineseNmae);
    return h(
      'div',
      {
        attrs: {
          class: 'g9',
        },
        style: { width: width + '%', },
      },
      ChineseNmae || '自动转换'
    );
  },
};
